package com.pinoc.demo.domain.es;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * @author yinpeng
 */
public class EsDemoBean {

	@JSONField(name = "customer_id")
	private Long customerId;

	private String name;

	private Long age;

	@JSONField(name = "student_no")
	private String studentNo;

	@JSONField(name = "spread_source")
	private String spreadSource;

	private String remark;

	private String desc;

	private String newField;

	public String getNewField() {
		return newField;
	}

	public void setNewField(String newField) {
		this.newField = newField;
	}

	public Long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getAge() {
		return age;
	}

	public void setAge(Long age) {
		this.age = age;
	}

	public String getStudentNo() {
		return studentNo;
	}

	public void setStudentNo(String studentNo) {
		this.studentNo = studentNo;
	}

	public String getSpreadSource() {
		return spreadSource;
	}

	public void setSpreadSource(String spreadSource) {
		this.spreadSource = spreadSource;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public EsDemoBean(Long customerId, String name, Long age, String studentNo, String spreadSource) {
		this.customerId = customerId;
		this.name = name;
		this.age = age;
		this.studentNo = studentNo;
		this.spreadSource = spreadSource;
	}

	public EsDemoBean(Long customerId, String name, Long age, String studentNo) {
		this.customerId = customerId;
		this.name = name;
		this.age = age;
		this.studentNo = studentNo;
	}

	public EsDemoBean() {
	}

	@Override
	public String toString() {
		return "EsDemoBean{" +
				"customerId=" + customerId +
				", name='" + name + '\'' +
				", age=" + age +
				", studentNo='" + studentNo + '\'' +
				", spreadSource='" + spreadSource + '\'' +
				", remark='" + remark + '\'' +
				", desc='" + desc + '\'' +
				'}';
	}
}

